package _09_Method;

public class Method_01 {

    public static void main(String[] args) {
        int a = 1;
        int b = 2;
        int c = a + b;
        System.out.println(a + "+" + b + "=" + c);
        //1+2=3
        // 上下相同功能,代码需要些两遍

        int x = 10;
        int y = 11;
        int z = x + y;
        System.out.println(x + "+" + y + "=" + z);
        //10+11=21
    }
}